<?php $game =$this->game; ?>

<?php if($this->error){ ?>
	<div class="notification error" >
		<span class="strong">Error:</span>
		<?php echo $this->error; ?>.
		<span class="close" title="Dismiss"></span>
	</div>
<?php }?>

<?php if($this->warning){ ?>
	<div class="notification warning" >
		<span class="strong">Warning:</span>
		<?php echo $this->warning; ?>
		<span class="close" title="Dismiss"></span>
	</div>
<?php }?>

<?php if($this->success){ ?>
	<div class="notification success" >
		<span class="strong">Success:</span>
		<?php echo $this->success; ?>.
		<span class="close" title="Dismiss"></span>
	</div>
<?php }?>
<div class="panelContainer last">
	<h2 class="panelHeader"><span>Sử game</span></h2>
	<div class="panelWrapper">
		<div class="panelContent">
			<form name="frm" method="post"  class="form_field" enctype="multipart/form-data" action="">
				<div class="blockContent">
					<fieldset>
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Tiêu đề bài viết</label>
								<span class="required">*</span>
							</dt>
							<dd class="formValue">
								<input type="text" name="name" id="name" value ="<?php echo $game['name']?>" />
								<br clear="all" />			
							</dd>
						</dl>
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Thumb</label>
							</dt>
							<dd class="formValue">
								<input type="text" name="thumb" id="thumb" value ="<?php echo $game['thumb']?>"  />
								<br clear="all" />			
							</dd>
						</dl>
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Thể loại</label>
								
							</dt>
							
							<dd class="formValue">
								<input type="text" name="category_id" id="category_id" value ="<?php echo $game['category_id']?>"  />
								<br clear="all" />			
							</dd>
						</dl>
						
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Intro</label>
								
							</dt>
							
							<dd class="formValue">
								<input type="text" name="intro" id="intro" value ="<?php echo $game['intro']?>" />
								<br clear="all" />			
							</dd>
						</dl>
						
						
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Nội dung</label>
															</dt>
							<dd class="formValue">
								
								<div id="content_vi">
									<h3>Bài tiếng Việt</h3>
									<textarea rows="" class="ckeditor" cols="" name="des"><?php echo $game['des']?> </textarea>
								</div>
								
								<br clear="all" />			
							</dd>
						</dl>
						
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Link android</label>
															                </dt>
							
							<dd class="formValue">
								<input type="text" name="link_download" id="link_download" value ="<?php echo $game['link_download']?>" />
								<br clear="all" />			
							</dd>
						</dl>
						
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Link IOS</label>
								
							</dt>
							
							<dd class="formValue">
								<input type="text" name="link_download_os" id="link_download_os" value ="<?php echo $game['link_download_os']?>"  />
								<br clear="all" />			
							</dd>
						</dl>
						
						<dl class="formRow">
							<dt>
								<label for="resumeTitle">Link java</label>
								
							</dt>
							
							<dd class="formValue">
								<input type="text" name="link_download_java" id="link_download_java" value ="<?php echo $game['link_download_java']?>"  />
								<br clear="all" />			
							</dd>
						</dl>
						
						<dl class="formRow">
    									<dt>
    										<label for="resumeTitle">Hiển thị bật/tắt</label>
    									</dt>
    									<dd class="formValue">
    										<select name="status">
<option value='1' <?php if($game['status']==1){ echo "selected='selected'";}?> >ON</option>
<option value='0'<?php if($game['status']==0){ echo "selected='selected'";}?> >OFF</option>
    										</select>
    										<br />
    									</dd>
    					</dl>
    					
					</fieldset>
					
					<fieldset >
						<center>
							<button type="submit" name="Submit"  class="actionBtn" ><span>Sửa</span></button>
							
							
						</center>
					</fieldset>
				</div>
			</form>
		</div>
	</div>
</div>